inp = document.getElementsByTagName("li");
alert(inp.length);
